package com.example.yoho.mvp.contract;

import com.example.lib_core.mvp.model.IModel;
import com.example.lib_core.mvp.view.IView;
import com.example.yoho.mvp.model.entity.BrandGoodsEntity;
import com.example.yoho.mvp.model.entity.BrandListEntity;
import com.example.yoho.mvp.model.entity.BrandTabEntity;
import com.example.yoho.mvp.model.entity.MenuEntity;

import java.util.List;

import io.reactivex.Observable;

public interface BrandContract {

    interface View extends IView{

        void showMenu(MenuEntity menuEntity);
        void showBrandTab(List<BrandTabEntity.ValuesBean> brandTabEntities);
        void showBrandGoods(List<BrandGoodsEntity.ValuesBean> brandGoodsEntities);
        void showBrandList(BrandListEntity brandListEntity);
    }

    interface Model extends IModel{
        Observable<MenuEntity> menuModel();
        Observable<BrandTabEntity> brandTabModel(String request);
        Observable<BrandGoodsEntity> brandGoods(String request);
        Observable<BrandListEntity> brandList(String request);
    }

}
